<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="payment.api.util.GUIDGenerator"%>
<%
    String contextPath = request.getContextPath();
%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>模拟商户</title>
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/Common.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/Form.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/Table.css">
    <script type="text/javascript" src="<%=contextPath%>/js/bankIDList.js"></script>
  </head>
  <body onload="show(payBankList);changeRule();showSelect()">
    <script language="JavaScript" type="text/JavaScript">

function doSubmit() {    
    document.form1.submit();
}
</script>
    <p class="title">
      模拟商户
    </p>
    <%
        String action = contextPath + "/Tx1960";
    %>
    <form action="<%=action%>" name="form1" method="POST">
      <table width="100%" cellpadding="2" cellspacing="1" border="0" align="center" bgcolor="#DDDDDD">
        <tr>
          <td class="head" height="24" colspan="2">
           一站式实时收付款（1960）
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>机构号码</td>
          <td width="*" class="content">
            <input type="text" name="InstitutionID" size="40" value="000020" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>交易流水号</td>
          <td width="*" class="content">
            <input type="text" name="TxSN" size="40" value="<%=GUIDGenerator.genGUID()%>" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>付款人信息</td>
          <td width="*" class="content"></td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>业务类型</td>
          <td width="*" class="content">
              <select id="SplitType" name="PaymentType" style="width: 274">
                 <option value="11">11-代收</option>
                 <option value="12">12-快捷</option>
              </select>
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>支付金额</td>
          <td width="*" class="content">
            <input type="text" name="PayerAmount" size="40" value="0" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">绑定流水号(快捷支付必填)</td>
          <td width="*" class="content">
            <input type="text" name="TxSNBinding" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">银行ID，参考《银行编码表》(代收必填)</td>
          <td width="*" class="content">
            <input type="text" name="PayerBankID" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">账户类型：(代收必填)</td>
          <td width="*" class="content">
              <select id="PayerAccountType" name="PayerAccountType" style="width: 274">
                 <option value=""></option>
                 <option value="11">11-个人账户</option>
                 <option value="12">20-企业账户</option>
              </select>
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">账户名称(代收必填)</td>
          <td width="*" class="content">
            <input type="text" name="PayerAccountName" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">账户号码(代收必填)</td>
          <td width="*" class="content">
            <input type="text" name="PayerAccountNumber" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">分支行</td>
          <td width="*" class="content">
            <input type="text" name="PayerBranchName" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">分支行省份</td>
          <td width="*" class="content">
            <input type="text" name="PayerProvince" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">分支行城市</td>
          <td width="*" class="content">
            <input type="text" name="PayerCity" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
           <td width="120" class="label" height="24">付款人证件类型</td>
          <td width="*" class="content">
            <select name="PayerIdentificationType" style="width: 274">
            <option value="">--选择--</option>
            <option value="0">0-身份证</option>
            <option value="1">1-户口簿</option>
            <option value="2">2-护照</option>
            <option value="3">3-军官证</option>
            <option value="4">4-士兵证</option>
            <option value="5">5-港澳居民来往内地通行证</option>
            <option value="6">6-台湾同胞来往内地通行证</option>
            <option value="7">7-临时身份证</option>
            <option value="8">8-外国人居留证</option>
            <option value="9">9-警官证</option>
            <option value="A">A-组织机构代码证号</option>
            <option value="B">B-营业执照号码</option>
            <option value="C">C-登记证书</option>
            <option value="D">D-国税登记证号码</option>
            <option value="E">E-地税登记证号码</option>
            <option value="F">F-开户许可证</option>
            <option value="G">G-事业单位编号</option>
            <option value="I">I-金融许可证编号</option>
            <option value="X">X-其他证件</option>
            <option value="Z">Z-错误的证件类型</option>
            </select>
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">证件号码</td>
          <td width="*" class="content">
            <input type="text" name="PayerIdentificationNumber" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">付款卡介质类型</td>
          <td width="*" class="content">
            <select id="PayerCardMediaType" name="PayerCardMediaType" style="width: 274">
            <option value="">--选择--</option>
            <option value="10">借记卡</option>
            <option value="20">贷记卡</option>
            <option value="30">存折</option>  
            </select>
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">支付交易备注</td>
          <td width="*" class="content">
            <input type="text" name="PayerRemark" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>收款人信息</td>
          <td width="*" class="content"></td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>银行编号</td>
          <td width="*" class="content">
            <input type="text" name="PayeeBankID" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>付款金额，单位：分</td>
          <td width="*" class="content">
            <input type="text" name="PayeeAmount" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>账户类型</td>
          <td width="*" class="content">
              <select id="PayeeAccountType" name="PayeeAccountType" style="width: 274">
                 <option value=""></option>
                 <option value="11">11-个人账户</option>
                 <option value="12">20-企业账户</option>
              </select>
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>银行账户名称</td>
          <td width="*" class="content">
            <input type="text" name="PayeeAccountName" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>银行账户号码</td>
          <td width="*" class="content">
            <input type="text" name="PayeeAccountNumber" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>分支行</td>
          <td width="*" class="content">
            <input type="text" name="PayeeBranchName" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>分支行省份</td>
          <td width="*" class="content">
            <input type="text" name="PayeeProvince" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>分支行城市</td>
          <td width="*" class="content">
            <input type="text" name="PayeeCity" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>支付交易备注</td>
          <td width="*" class="content">
            <input type="text" name="PayeeRemark" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">红包支付账户名称</td>
          <td width="*" class="content">
            <input type="text" name="CouponAccountName" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">红包支付账户号码</td>
          <td width="*" class="content">
            <input type="text" name="CouponAccountNumber" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>红包金额，单位：分</td>
          <td width="*" class="content">
            <input type="text" name="CouponAmount" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24"><font color="red">*</font>商户收益金额，单位：分</td>
          <td width="*" class="content">
            <input type="text" name="ProfitAmount" size="40" value="" />
          </td>
        </tr>
        <tr class="mouseout">
          <td width="120" class="label" height="24">退款备注</td>
          <td width="*" class="content">
            <input type="text" name="RefundRemark" size="40" value="" />
          </td>
        </tr>
        
        
      </table>

      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td height="10" colspan="2" />
        </tr>
        <tr>
          <td width="200" height="28" />
          <td width="*">
            <input type="button" class="ButtonMouseOut" onmouseover="this.className='ButtonMouseOver'"
              onmouseout="this.className='ButtonMouseOut'" style="width: 60px" value="提交" onclick="doSubmit()">
          </td>
        </tr>
      </table>

      <input type="hidden" name="TxCode" value="1960" />
    </form>

  </body>
</html>
